{% extends 'base.html' %}

{% block title %}
    注册
{% endblock %}

{% block content %}
    <form action="" method="post">
		{% csrf_token %}
        <p>姓名：<input type="text" name="username"></p>{{ errors.username }}
        <p>密码：<input type="password" name="password"></p>{{ errors.password }}
        <p>确认密码：<input type="password" name="password2"></p>{{errors.password2 }}
        <input type="submit" value="提交">
    </form>
{% endblock %}
